type IFormType = 'input' | 'select' | 'datepicker' | 'password'

export interface IFormItem {
    filed:string
    type:IFormType
    label:string
    rules:any[]
    placeholder?:string
    options?:any[]
    //其他配置项
    otheroptions?:any,
    isHidden?:boolean
}

// iForm 将上面所有配置项集合到一起
export interface IForm {
    
    formItems:IFormItem[]
    labelWidth?:string
    colLayout?:any
    formStyle?:any
    
}